﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX;
using SCS.GFX;

namespace SCS.Objects
{
    public enum EntityType { Ship, Base, Star, Planet, Asteroid, Storm, Wormhole, Projectile};
    public abstract class Entity
    {
        public String Name;
        public Model Model;
        public EntityType Type;
        public Vector3 Position;
        public Vector3 Orientation;
        public Object Owner;
        public Object[] Children;
        public bool Active;
        public bool Alive;
        public bool Visible;
        public float AnimationTime;
        public int AnimationFrame;

        abstract public void Think();
        abstract public void Animate();
        abstract public void Render(RenderInfo info);

    }
}
